import request from "@/utils/request";

// 查询警钟长鸣
export function getAlarmBellRing(query) {
  return request({
    url: "/police-ringing/selectOne",
    method: "get",
    params: query,
  });
}

// 新增或更新警钟长鸣
export function addAlarmBellRing(data) {
  return request({
    url: "/police-ringing/addOrUpdate",
    method: "post",
    data: data,
  });
}
